<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
        <title>{$seoinfo['seotitle']}-{$GLOBALS['cfg_webname']}</title>
        {if $seoinfo['keyword']}
        <meta name="keywords" content="{$seoinfo['keyword']}" />
        {/if}
        {if $seoinfo['description']}
        <meta name="description" content="{$seoinfo['description']}" />
        {/if}
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        {php echo Common::css('base.css,swiper.min.css,reset-style.css');}
        {Common::css_plugin('news.css','news')}
        {php echo Common::js('lib-flexible.js,swiper.min.js,jquery.min.js,delayLoading.min.js');}
	</head>

	<body top_body=b2CuKC >
    {request "pub/header_new/typeid/$typeid/isshowpage/1"}
		<!-- 公用顶部 -->

    {if St_Functions::is_normal_app_install('product_seeding')}
    {php}
    $seeding = Model_Product_Seeding::get_info(2);

    $seeding_status = $seeding['status'];
    $seeding_location = $seeding['location'];
    $seeding_typeid = $seeding['typeid'];
    $seeding_kind = $seeding['kind'];
    {/php}
    {if $seeding_status}
    {if $seeding_location==1}
    {if $seeding_typeid>0}
    {php}
    $seeding_model = Model_Model::get_module_info($seeding_typeid);
    if ($seeding_model['id'] > 200 && $seeding_model['maintable'] == 'model_archive')
    {
    $taglib = 'tongyong';
    }
    else
    {
    $taglib = $seeding_model['pinyin'];
    }

    if($seeding_kind == 1)
    {
    $seeding_flag = 'order';
    }
    else
    {
    $seeding_flag = 'tagrelative';
    }
    {/php}
    {if $taglib == 'line'}
    {st:line action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'outdoor'}
    {st:outdoor action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'hotel'}
    {st:hotel action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'car'}
    {st:car action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'spot'}
    {st:spot action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'visa'}
    {st:visa action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'tuan'}
    {st:tuan action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'ship_line'}
    {st:ship action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'tongyong'}
    {st:tongyong action="query" flag="$seeding_flag" tagword="$tagword" typeid="$seeding_typeid" row="2" return="recommends"}
    {/if}
    {if $recommends}
    <div class="recommend-show mt-20 mb-20">
        <div class="recommend-title-bar">
            <i class="line-icon"></i>
            <span class="title-txt">今日推荐</span>
<!--            <i class="del-icon"></i>-->
        </div>
        <div class="recommend-list">
            <ul class="clearfix">
                {loop $recommends $rec}
                <li class="{if $n==2}mr-0{/if}">
                    <a href="{$rec['url']}">
                        <div class="pic">
                            <img src="{$defaultimg}" st-src="{Common::img($rec['litpic'])}" alt="{$rec['title']}" title="{$rec['title']}" />
                        </div>
                        <p class="bt">{$rec['title']}</p>
                        <p class="attr clearfix">
                            {if $rec['price']}
                            <span class="price">{Currency_Tool::symbol()}<b>{$rec['price']}</b>起</span>
                            {else}
                            <span class="price"><b>电询</b></span>
                            {/if}
                            <span class="myd">满意度：<em>{php echo rtrim($rec['satisfyscore'], '%') . '%';}</em></span>
                        </p>
                    </a>
                </li>
                {/loop}
            </ul>
        </div>
    </div>
    <!--今日推荐-->
    {/if}
    {/if}
    {/if}
    {/if}
    {/if}
		
		<div class="news-show-page">
			<div class="news-show-bar">
	            <h1 class="title">{$info['title']}</h1>
	            <p class="date">{date('Y-m-d',$info['addtime'])}</p>
	        </div>
	        <div class="news-show-content">
                <p style="color: #646464;font-size: 0.373333rem;line-height: 0.613333rem;"> {Product::strip_style($info['content'])}</p>
	        </div>
	        <div class="news-tag-content">
                {if $info['author']}
	        	<span>作者：{$info['author']}</span>
                {/if}
	        	<span>阅读次数：{$info['shownum']}</span>
                {if $info['comefrom']}
	        	<span>文章来源：{$info['comefrom']}</span>
                {/if}
	        </div>
		</div>


    {if St_Functions::is_normal_app_install('product_seeding')}
    {php}
    $seeding = Model_Product_Seeding::get_info(2);
    $seeding_status = $seeding['status'];
    $seeding_location = $seeding['location'];
    $seeding_typeid = $seeding['typeid'];
    $seeding_kind = $seeding['kind'];
    {/php}
    {if $seeding_status}
    {if $seeding_location==2}
    {if $seeding_typeid>0}
    {php}
    $seeding_model = Model_Model::get_module_info($seeding_typeid);
    if ($seeding_model['id'] > 200 && $seeding_model['maintable'] == 'model_archive')
    {
    $taglib = 'tongyong';
    }
    else
    {
    $taglib = $seeding_model['pinyin'];
    }

    if($seeding_kind == 1)
    {
    $seeding_flag = 'order';
    }
    else
    {
    $seeding_flag = 'tagrelative';
    }
    {/php}
    {if $taglib == 'line'}
    {st:line action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'outdoor'}
    {st:outdoor action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'hotel'}
    {st:hotel action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'car'}
    {st:car action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'spot'}
    {st:spot action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'visa'}
    {st:visa action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'tuan'}
    {st:tuan action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'ship_line'}
    {st:ship action="query" flag="$seeding_flag" tagword="$tagword" row="2" return="recommends"}
    {elseif $taglib == 'tongyong'}
    {st:tongyong action="query" flag="$seeding_flag" tagword="$tagword" typeid="$seeding_typeid" row="2" return="recommends"}
    {/if}
    {if $recommends}
    <div class="recommend-show mb-20">
        <div class="recommend-title-bar">
            <i class="line-icon"></i>
            <span class="title-txt">今日推荐</span>
<!--            <i class="del-icon"></i>-->
        </div>
        <div class="recommend-list">
            <ul class="clearfix">
                {loop $recommends $rec}
                <li class="{if $n==2}mr-0{/if}">
                    <a href="{$rec['url']}">
                        <div class="pic"><img src="{$defaultimg}" st-src="{Common::img($rec['litpic'])}" alt="{$rec['title']}" title="{$rec['title']}" /></div>
                        <p class="bt">{$rec['title']}</p>
                        <p class="attr clearfix">
                            {if $rec['price']}
                            <span class="price">{Currency_Tool::symbol()}<b>{$rec['price']}</b>起</span>
                            {else}
                            <span class="price"><b>电询</b></span>
                            {/if}
                            <span class="myd">满意度：<em>{php echo rtrim($rec['satisfyscore'], '%') . '%';}</em></span>
                        </p>
                    </a>
                </li>
                {/loop}
            </ul>
        </div>
    </div>
    <!--今日推荐-->
    {/if}
    {/if}
    {/if}
    {/if}
    {/if}
    {php $category_id = $info['category_two'] ? $info['category_two'] : $info['category_one'];}
    {st:news action="query" flag="relative" row="4" categoryid="$category_id"}
    {if $data}
		<div class="image-text-container">
			<h3 class="title-bar">
	            <i class="line-icon"></i>
	            <span class="title-txt">相关阅读</span>
	        </h3>
			<ul class="list-block">
                {loop $data $row}
				<li>
					<a class="item" href="{$row['url']}">
						<div class="pic"><img src="{$defaultimg}" st-src="{$row['litpic']}" alt="{$row['title']}" title="{$row['title']}" /></div>
						<div class="info">
							<p class="bt">{$row['title']}</p>
							<p class="data">
								<span>{date('Y-m-d',$row['addtime'])}发布</span>
								<span>{$row['shownum']}浏览</span>
							</p>
						</div>
					</a>
				</li>
                {/loop}

			</ul>
		</div>
    {/if}
		<!--图文列表-->

    {request 'pub/code'}
    {request 'pub/footer'}
    {request "pub/footmenu"}
		<!-- 底部 -->
		<script type="text/javascript">
			$(function() {

			});
		</script>
	</body>

</html>